package usb;
import java.util.Scanner;

public class Test06 {
    public static void main(String[] args) {
       Scanner sc = new Scanner(System.in);
       int[] arrays=new int[5];
      //String[] names=new String[5];
      //double[] scores=new double[5];
       int[] b = new int[]{1,2,3,4,5};
//       System.out.println(b[0]);
//       System.out.println(b[1]);
//       System.out.println(b[2]);
//       System.out.println(b[3]);
//       System.out.println(b[4]);
//        for (int i = 0; i < b.length; i++){
//            System.out.println(b[i]);
//        }
        int num = 0;
        for (int i = 0; i < arrays.length; i++){
            arrays[i]=sc.nextInt();
            num+=arrays[i];
        }
        System.out.println(num);
    }
}
